<br /><br />
<a class="city" href="#" onclick="return false;"><b>Reduceri oferite de:</b></a>

<div style="float: left; width: 145px; margin-right: 10px;">
  <?php foreach($sites1 as $site): ?>
    <a class="city" id="site-<?php echo $site->getId() ?>" href="<?php echo url_for('@site_city?site_id='.$site->getId().'&city_name='.Utils::slugify($city_name).'&site_name='.Utils::slugify($site->getName())) ?>">
      <?php if($site->getLogo()): ?>
        <img src="/uploads/sites/<?php echo $site->getLogo() ?>" style="vertical-align: -4px;" alt="<?php echo $site->getName() ?>"/>
      <?php endif; ?>
      <?php echo $site->getName() ?> (<?php echo $site->getCountOffers(date("Y-m-d H:i:s"), $city_id) ?>)
    </a>
  <?php endforeach; ?>
</div>

<div style="float: left; width: 145px;">
  <?php foreach($sites2 as $site): ?>
    <a class="city" id="site-<?php echo $site->getId() ?>" href="<?php echo url_for('@site_city?site_id='.$site->getId().'&city_name='.Utils::slugify($city_name).'&site_name='.Utils::slugify($site->getName())) ?>">
      <?php if($site->getLogo()): ?>
        <img src="/uploads/sites/<?php echo $site->getLogo() ?>" style="vertical-align: -4px;" alt="<?php echo $site->getName() ?>"/>
      <?php endif; ?>
      <?php echo $site->getName() ?> (<?php echo $site->getCountOffers(date("Y-m-d H:i:s"), $city_id) ?>)
    </a>
  <?php endforeach; ?>
</div>

<div style="clear: both"></div>